Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[CORL-2934]: DSA - Send rejection reason through when illegal content decision made #4393

Merged
merged 1 commit into from
Nov 14, 2023

Conversation

kabeaty
Copy link
Contributor

@kabeaty kabeaty commented Nov 14, 2023

What does this PR do?

These changes update to send through the rejection reason when an illegal content report decision is made and the reported comment is therefore rejected.

These changes will impact:

  • commenters
  • moderators
  • admins
  • developers

What changes to the GraphQL/Database Schema does this PR introduce?

none

Does this PR introduce any new environment variables or feature flags?

no

If any indexes were added, were they added to INDEXES.md?

n/a

How do I test this PR?

You can create a DSA report. Then go into the admin and make an illegal content decision with legal grounds and detailed explanation. Find the comment moderation action for this rejection and see that it includes the correct code for illegal content, as well as the legal grounds and detailed explanation.

Where any tests migrated to React Testing Library?

How do we deploy this PR?

Copy link
Contributor

@nick-funk nick-funk left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good, shouldn't change much on the notifications end too!

@kabeaty kabeaty merged commit 0a73efc into feat/dsa-launch-pad Nov 14, 2023
@kabeaty kabeaty deleted the feat/CORL-2934-reason-moderate-reject branch November 14, 2023 16:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants